package com.my.vote.ui;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

import com.my.vote.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
/**
 * 功能描述:关于APP介绍
 *
 * @author Xiao Jingxiang 肖景翔
 * @date 2018/4/23
 */
public class AboutActivity extends AppCompatActivity {


    public static void startUI(Context context) {
        Intent intent = new Intent(context, AboutActivity.class);
        context.startActivity(intent);
    }

    @BindView(R.id.tvLeft)
    TextView tvLeft;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);
        ButterKnife.bind(this);
        tvLeft.setText("About Me");
    }

    @OnClick(R.id.tvLeft)
    public void onViewClicked() {
        finish();
    }
}
